<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">商品ID</label>
            <div class="layui-input-block">
                <input type="text" name="goods_id" class="layui-input"  placeholder="请输入商品ID" value="{$row.goods_id|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">秒杀配置ID</label>
            <div class="layui-input-block">
                <input type="text" name="config_id" class="layui-input"  placeholder="请输入秒杀配置ID" value="{$row.config_id|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">秒杀时间段</label>
            <div class="layui-input-block">
                <input type="text" name="period_time" class="layui-input"  placeholder="请输入秒杀时间段" value="{$row.period_time|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">首位图</label>
            <div class="layui-input-block layuimini-upload">
                <input name="image" class="layui-input layui-col-xs6"   placeholder="请上传首位图" value="{$row.image|default=''}">
                <div class="layuimini-upload-btn">
                    <span><a class="layui-btn" data-upload="image" data-upload-number="one" data-upload-exts="png|jpg|ico|jpeg" data-upload-icon="image"><i class="fa fa-upload"></i> 上传</a></span>
                    <span><a class="layui-btn layui-btn-normal" id="select_image" data-upload-select="image" data-upload-number="one" data-upload-mimetype="image/*"><i class="fa fa-list"></i> 选择</a></span>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">组图</label>
            <div class="layui-input-block layuimini-upload">
                <input name="images" class="layui-input layui-col-xs6"   placeholder="请上传组图" value="{$row.images|default=''}">
                <div class="layuimini-upload-btn">
                    <span><a class="layui-btn" data-upload="images" data-upload-number="one" data-upload-exts="png|jpg|ico|jpeg" data-upload-icon="image"><i class="fa fa-upload"></i> 上传</a></span>
                    <span><a class="layui-btn layui-btn-normal" id="select_images" data-upload-select="images" data-upload-number="one" data-upload-mimetype="image/*"><i class="fa fa-list"></i> 选择</a></span>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">活动标题</label>
            <div class="layui-input-block">
                <input type="text" name="title" class="layui-input"  placeholder="请输入活动标题" value="{$row.title|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">活动简介</label>
            <div class="layui-input-block">
                <textarea name="content" rows="20" class="layui-textarea editor" 活动简介 placeholder="请输入活动简介">{$row.content|raw|default=''}</textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">原价</label>
            <div class="layui-input-block">
                <input type="text" name="ot_price" class="layui-input"  placeholder="请输入原价" value="{$row.ot_price|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">秒杀价格</label>
            <div class="layui-input-block">
                <input type="text" name="price" class="layui-input"  placeholder="请输入秒杀价格" value="{$row.price|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">邮费</label>
            <div class="layui-input-block">
                <input type="text" name="postage" class="layui-input"  placeholder="请输入邮费" value="{$row.postage|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">限量</label>
            <div class="layui-input-block">
                <input type="text" name="limit" class="layui-input"  placeholder="请输入限量" value="{$row.limit|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">限量剩余</label>
            <div class="layui-input-block">
                <input type="text" name="limit_sock" class="layui-input"  placeholder="请输入限量剩余" value="{$row.limit_sock|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">销量</label>
            <div class="layui-input-block">
                <input type="text" name="sales" class="layui-input"  placeholder="请输入销量" value="{$row.sales|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">限购</label>
            <div class="layui-input-block">
                <input type="text" name="quota" class="layui-input"  placeholder="请输入限购" value="{$row.quota|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">返多少积分</label>
            <div class="layui-input-block">
                <input type="text" name="give_intergal" class="layui-input"  placeholder="请输入返多少积分" value="{$row.give_intergal|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">秒杀状态</label>
            <div class="layui-input-block">
                <input type="text" name="seckill_status" class="layui-input"  placeholder="请输入秒杀状态" value="{$row.seckill_status|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">状态</label>
            <div class="layui-input-block">
                <input type="text" name="status" class="layui-input"  placeholder="请输入状态" value="{$row.status|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">排序</label>
            <div class="layui-input-block">
                <input type="text" name="sort" class="layui-input"  placeholder="请输入排序" value="{$row.sort|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">是否包邮</label>
            <div class="layui-input-block">
                <input type="text" name="is_postage" class="layui-input"  placeholder="请输入是否包邮" value="{$row.is_postage|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">添加时间</label>
            <div class="layui-input-block">
                <input type="text" name="created_at" class="layui-input"  placeholder="请输入添加时间" value="{$row.created_at|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">更新时间</label>
            <div class="layui-input-block">
                <input type="text" name="updated_at" class="layui-input"  placeholder="请输入更新时间" value="{$row.updated_at|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">删除时间</label>
            <div class="layui-input-block">
                <input type="text" name="delete_at" class="layui-input"  placeholder="请输入删除时间" value="{$row.delete_at|default=''}">
            </div>
        </div>
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>